﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Dict;
using Dict.Dao;
using Dict.DataModel;

namespace Dict.Blo
{
    public class DictLuckBlo 
    {
        static public List<TableYuan> GetLucksByHeroId(string heroId)
        {
            return DictDataManager.Instance.tableYuanDao.GetByOneIndex(heroId);
        }

        static public TableYuan GetLuckByLuckId(string luckId)
        {
            return DictDataManager.Instance.tableYuanDao.GetById(luckId);
        }
    }
}